package org.skyeye.modeling.config;

import org.eclipse.draw2d.ColorConstants;
import org.eclipse.swt.graphics.Color;

public class AppConstant {
	public static final String dev_model = "DEV";
	
	public static final String prod_model = "PROD";
	
	public static final String app_model = dev_model;
	
	public static final int CONNECTION_WIDTH_NORMAL = 2;
	
	public static final Color CONNECTION_COLOR = ColorConstants.darkGreen;
	public static final Color CONNECTION_SELECTED_COLOR = ColorConstants.blue;
	
	public static final int DEFAULT_DEVICE_NAME_WIDTH = 100;
	public static final int DEFAULT_DEVICE_WIDTH = 100;
	public static final int DEFAULT_DEVICE_NAME_HEIGHT = 29;
	public static final int DEFAULT_DEVICE_HEIGHT = 39;
	
	public static final int DEFAULT_SOC_WIDTH = 512;
	public static final int DEFAULT_SOC_HEIGHT = 512;
	
	
	public static final int DEFAULT_GPIOSOC_WIDTH = 256;
	public static final int DEFAULT_GPIOSOC_HEIGHT = 512;
	
	
	
	public static final String TEMPLATE_FOLDER_NAME = "templates";
	public static final String FILE_POSTFIX = ".gp";
	
	public static final Color DEVICE_BACKGROUND_COLOR = ColorConstants.orange;
	public static final Color LINKER_BACKGROUND_COLOR = ColorConstants.lightBlue;
	public static final Color CPU_BACKGROUND_COLOR = ColorConstants.green;
	
	public static final Color SOC_BACKGROUND_COLOR = ColorConstants.white;
	public static final String BASE_LINKER = "linker";
	public static final String BASE_CPU = "cpu";
	public static final String BASE_DEVICE = "device";
	public static final String BASE_MEMORY_SPACE = "memory_space";
	
	public static final int DEVICE_SOC_MARGIN = 0;
	
	public static final int CROSS_MARGIN = 4;
	
	
	public static final String LAUNCH_CONFIGURATION_TYPE = "org.skyeye.modeling.SkyeyeLaunchConfigurationType";
	public static final String SKYEYE_FILE = "skyeye";
	public static final String _TYPE = "TYPE";
}
